package cevent.source.cloudcenter.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


/**
 * @author cevent
 * @description 员工管理表 模块传输层
 */
public class EmployeeDto {

    //唯一ID
    private String uniId;
    //姓名
    private String name;
    //昵称
    private String nickName;
    //登录名
    private String loginName;
    //登录IP
    private String loginIp;
    //密码
    private String password;
    //部门ID
    private String depId;
    //职位
    private String position;
    //头像
    private String icon;
    //座右铭
    private String motto;
    //简介
    private String intro;
    //电话号
    private String mobile;
    //微信id
    private String qrCode;
    //微信二维码
    private String qrImg;
    //工作时间
    private EmployeeWorkTimeDto workTimeDto;
    //是否首页显示0不显示1显示
    private Integer isShow;

    //关联文件ID
    private String fileId;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    //用户输入验证码
    private String imgCode;
    //前端自动生成的8位UUID
    private String imgCodeToken;

    public String getUniId() {
        return uniId;
    }

    public void setUniId(String uniId) {
        this.uniId = uniId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getDepId() {
        return depId;
    }

    public void setDepId(String depId) {
        this.depId = depId;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public String getQrImg() {
        return qrImg;
    }

    public void setQrImg(String qrImg) {
        this.qrImg = qrImg;
    }

    public EmployeeWorkTimeDto getWorkTimeDto() {
        return workTimeDto;
    }

    public void setWorkTimeDto(EmployeeWorkTimeDto workTimeDto) {
        this.workTimeDto = workTimeDto;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getImgCode() {
        return imgCode;
    }

    public void setImgCode(String imgCode) {
        this.imgCode = imgCode;
    }

    public String getImgCodeToken() {
        return imgCodeToken;
    }

    public void setImgCodeToken(String imgCodeToken) {
        this.imgCodeToken = imgCodeToken;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("EmployeeDto{");
        sb.append("uniId='").append(uniId).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", nickName='").append(nickName).append('\'');
        sb.append(", loginName='").append(loginName).append('\'');
        sb.append(", loginIp='").append(loginIp).append('\'');
        sb.append(", password='").append(password).append('\'');
        sb.append(", depId='").append(depId).append('\'');
        sb.append(", position='").append(position).append('\'');
        sb.append(", icon='").append(icon).append('\'');
        sb.append(", motto='").append(motto).append('\'');
        sb.append(", intro='").append(intro).append('\'');
        sb.append(", mobile='").append(mobile).append('\'');
        sb.append(", qrCode='").append(qrCode).append('\'');
        sb.append(", qrImg='").append(qrImg).append('\'');
        sb.append(", workTimeDto=").append(workTimeDto);
        sb.append(", isShow=").append(isShow);
        sb.append(", fileId='").append(fileId).append('\'');
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", imgCode='").append(imgCode).append('\'');
        sb.append(", imgCodeToken='").append(imgCodeToken).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
